package com.ruoyi.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 手术事件详情对象 event_surgery_detail
 * 
 * @author zww
 * @date 2025-07-01
 */
public class EventSurgeryDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    private Long eventSurgeryDetailId;

    /** 关联event_surgery表的外键ID */
    @Excel(name = "关联event_surgery表的外键ID")
    private Long eventSurgeryId;

    /** 前端生成的组ID，用于标识相关操作组 */
    @Excel(name = "前端生成的组ID，用于标识相关操作组")
    private Long eventId;

    /** 手术计划ID，关联手术主计划表 */
    @Excel(name = "手术计划ID，关联手术主计划表")
    private Long surgeryId;

    /** 事件具体值，根据事件类型有不同含义 */
    @Excel(name = "事件具体值，根据事件类型有不同含义")
    private String value;

    /** 状态标识：0=启用，1=禁用 */
    @Excel(name = "状态标识：0=启用，1=禁用")
    private Long status;

    /** 删除标识：0=正常，1=已删除（逻辑删除） */
    private Long delFlag;

    /** 事件细类名称 */
    @Excel(name = "事件细类名称")
    private String eventName;

    public void setEventSurgeryDetailId(Long eventSurgeryDetailId) 
    {
        this.eventSurgeryDetailId = eventSurgeryDetailId;
    }

    public Long getEventSurgeryDetailId() 
    {
        return eventSurgeryDetailId;
    }
    public void setEventSurgeryId(Long eventSurgeryId) 
    {
        this.eventSurgeryId = eventSurgeryId;
    }

    public Long getEventSurgeryId() 
    {
        return eventSurgeryId;
    }
    public void setEventId(Long eventId) 
    {
        this.eventId = eventId;
    }

    public Long getEventId() 
    {
        return eventId;
    }
    public void setSurgeryId(Long surgeryId) 
    {
        this.surgeryId = surgeryId;
    }

    public Long getSurgeryId() 
    {
        return surgeryId;
    }
    public void setValue(String value) 
    {
        this.value = value;
    }

    public String getValue() 
    {
        return value;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }
    public void setEventName(String eventName) 
    {
        this.eventName = eventName;
    }

    public String getEventName() 
    {
        return eventName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("eventSurgeryDetailId", getEventSurgeryDetailId())
            .append("eventSurgeryId", getEventSurgeryId())
            .append("eventId", getEventId())
            .append("surgeryId", getSurgeryId())
            .append("value", getValue())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("eventName", getEventName())
            .toString();
    }
}
